Welcome![Sign In][Sign Up]
Location:
Search - OpenCV D

Search list

[Graph programopencv两个常见的编译错误

Description:

在利用opencv库进行编程中两个常见的问题的解决方法,十分有效!

以openCV的使用为例,并结合个实验经验,总结一下在使用其它库进行编程时VC环境下编译与链接时经常遇到的两个错误的解决办法.

1.编译错误

问题描述:编译时,出现编译如下编译错误:

fatal error C1083: Cannot open include file: 'cv.h': No such file or directory

意思是找不到语句 #include "cv.h" 的cv.h头文件.

解决办法:在工程环境下,Tools->Options->Directories,在页内Show directories for下拉列表框中选择 Include files,然后在Directories列表框中添加上cv.h的路径,
如:D:\OPENCV\CV\INCLUDE,再编译就能找到cv.h头文件了.

2.链接错误

问题描述:链接时出现如下错误:

Linking...

test.obj : error LNK2001: unresolved external symbol _cvCanny

Debug/cvtest.exe : fatal error LNK1120: 1 unresolved externals

解决办法:明明知道cvCanny函数(_cvCanny是纯C编译生成的目标文件的函数名)的原型说明在文件cv.h中,怎么又出现链接错误呢,可能是静态链接库的问题(可能还有其它的原因),
然后有两各解决办法:(1).通过project->Add to project->Files, 将cv.lib加到工程中(2).①Tools->Options->Directories,Show directories for下拉列表框中
选择 Library files,然后在Directories列表框中添加上cv.lib的路径,如:D:\OPENCV\LIB ② project->settings下的LINK属性页下,在Object/Library modules 的文本框中
加上 cv.lib 后,点击确定.此时链接通过.

 

仅为个人的实验经验,有可能不全面或错误.
 


Platform: | Size: 974 | Author: simon112233 | Hits:

[Special EffectsSIFT算法的C语言实现(基于OpenCV),

Description: SIFT算法的C语言实现(基于OpenCV),金字塔采样和高斯差分提取特征点,K-D树寻找同名点,RANSAC去粗差
Platform: | Size: 448526 | Author: yuanou2007 | Hits:

[Windows Developcolor-tracking

Description: This application demonstrates a fast, simple color tracking algorithm that can be used to track faces, hands . 该运行文件在VC6.0环境下编译通过,是一个 stand-alone 运行程序,不需要OPENCV的DLL库支持。-This application demonstrates a fast, simple color tracking algorithm that can be use d to track faces and hands. Run the file in the VC6.0 environment compiler, it is a stand-alone operating procedures, no OPENCV DLL library support.
Platform: | Size: 10240 | Author: 肖雪 | Hits:

[Special EffectsDCT-transform

Description: 这是一个非常有用的DCT变换的原代码,用c语言编写,希望对大家有帮助。-This is a very useful DCT's original code using the c language, and I hope to be helpful.
Platform: | Size: 134144 | Author: 何忠 | Hits:

[VC/MFCchopencv-2.3.0-win

Description: chopencv-2.3.0-win opencv学习资料 有意者下-chopencv- 2.3.0-win opencv learning materials Interested parties under
Platform: | Size: 2903040 | Author: 吴博灵 | Hits:

[Graph Recognizeopencvexample

Description: opencv 各种函数的应用的例子以及保存图片的例子-opencv various examples of the application function and the preservation of picture examples
Platform: | Size: 2903040 | Author: 齐晓娟 | Hits:

[Special Effectsface-opencv-test

Description: 这是我根据opencv做的人脸检测demo,简单实用,可检测多个人脸。-This is what I make in accordance with the opencv face detection demo, simple and practical, can detect more than the individual faces.
Platform: | Size: 1987584 | Author: sara | Hits:

[VC/MFCopencv-IPL-IPP-SDK

Description: opencv-IPL-IPP-SDK之间的比较,介绍等,适用于视觉初级用户-opencv-IPL-IPP-SDK comparisons between introduction and so on, apply to the visual primary users
Platform: | Size: 633856 | Author: maning | Hits:

[DSP programopencv_dsp

Description: opencv库在TI DM6437上的移植,目前包括两个库cv.lib和cxcore.lib的工程-opencv library
Platform: | Size: 774144 | Author: 葛文煜 | Hits:

[Special EffectsSIFTAlgorithmcodes

Description: D.G lowe 的尺度不变特征转换算法(SIFT) 在基于opencv和OpenGL的源码基础上增加了图像的保存功能。用于对图像的尺度不变特征的提取以及图像特征点的匹配。-DG lowe the scale-invariant features of the conversion algorithm (SIFT) and OpenGL-based opencv source code based on the increase in the preservation of image features. Used to image the scale-invariant feature extraction and image feature points of the match.
Platform: | Size: 7247872 | Author: | Hits:

[Special Effectssift-1.1.1_20071108_win

Description: Rob Hess的SIFT算法的C语言实现(基于OpenCV),金字塔采样和高斯差分提取特征点,K-D树寻找同名点,RANSAC去粗差-Rob Hess of the SIFT algorithm C language (based on OpenCV), sampling and Gaussian pyramid differential extraction of feature points, KD tree search for points of the same name, RANSAC to gross errors
Platform: | Size: 448512 | Author: lonfan | Hits:

[VC/MFCMFC_OpenCV

Description: 利用OpenCV打开图像,并在MFC方式显示(DIB显示),包含源码以及技术文档,是最简单的实例,欢迎下载。-Open the image using OpenCV and MFC display (DIB show), including source code and technical documentation, is the most simple example, welcome to download.
Platform: | Size: 1296384 | Author: chen251213 | Hits:

[Special EffectsLucasKanadeTracker

Description: Lucas-Kanader-Tomasi Feature Tracker,基于B.D.Lucas和T.Kanade[1]于1981的早期工作,于1991年由C.Tomasi和T.Kanade[2]完整导出,并于1994年由J.Shi和C.Tomasi[3]在文章中清楚地阐述。J.Y.Bougue[4]于2000年给出了此算法的一种实现,并收录在Intel公司的计算机视觉函数库OpenCV中。本例是此算法基于OpenCv的代码实现-Lucas-Kanader-Tomasi Feature Tracker, based on BDLucas and T. Kanade [1] in 1981 the early work, in 1991 by C. Tomasi and T. Kanade [2] a complete export, and was established in 1994 by J. Shi and C . Tomasi [3] in the article clearly explained. JYBougue [4] in 2000, given a realization of this algorithm and is included in Intel s computer vision library OpenCV in. This case is that this algorithm is based on the code OpenCv
Platform: | Size: 38208512 | Author: 梁霄 | Hits:

[Windows DevelopopenCv1.1.0DLL

Description: 图形图像处理OpenCV1.1.0的debug 和 release版本的D-Graphics Image Processing OpenCV1.1.0 the debug and release versions of the DLL
Platform: | Size: 2746368 | Author: 冯选 | Hits:

[Windows Developmushroom

Description: /* The sample demonstrates how to build a decision tree for classifying mushrooms. It uses the sample base agaricus-lepiota.data from UCI Repository, here is the link: Newman, D.J. & Hettich, S. & Blake, C.L. & Merz, C.J. (1998). UCI Repository of machine learning databases [http://www.ics.uci.edu/~mlearn/MLRepository.html]. Irvine, CA: University of California, Department of Information and Computer Science. */ // loads the mushroom database, which is a text file, containing // one training sample per row, all the input variables and the output variable are categorical, // the values are encoded by characters.
Platform: | Size: 4096 | Author: tofighi | Hits:

[Otherlissage

Description: Ce fichier représente un exemple d application d un filtre médian et d un filtre moyen sur une image sous VC++ et en utilisant la bibliothèque graphique OpenCV.
Platform: | Size: 2048 | Author: Nadhir | Hits:

[Special Effectsyundong

Description: 采用 CAMSHIFT 算法快速跟踪和检测运动目标的 C/C++ 源代码,OPENCV BETA 4.0 版本在其 SAMPLE 中给出了这个例子。算法的简单描述如下-This application demonstrates a fast, simple color tracking algorithm that can be used to track faces, hands . The CAMSHIFT algorithm is a modification of the Meanshift algorithm which is a robust statistical method of finding the mode (top) of a probability distribution. Both CAMSHIFT and Meanshift algorithms exist in the library. While it is a very fast and simple method of tracking, because CAMSHIFT tracks the center and size of the probability distribution of an object, it is only as good as the probability distribution that you produce for the object. Typically the probability distribution is derived from color via a histogram, although it could be produced from correlation, recognition scores or bolstered by frame differencing or motion detection schemes, or joint probabilities of different colors/motions etc. In this application, we use only the most simplistic approach: A 1-D Hue histogram is sampled from the object in an HSV color space version of the image. To produce the
Platform: | Size: 15360 | Author: 黄文伟 | Hits:

[DSP programvolume13

Description: 将opencv移植到dsp上,源程序用CCS打开,实现了cvcanny算法-Opencv transplanted to the dsp on the open source program with CCS achieved cvcanny algorithm
Platform: | Size: 420864 | Author: allen | Hits:

[Delphi VCLOpencv2.0Delphi

Description: Delphi的OpenCV2.0接口文件及附加D-OpenCV 2.0 Delphi Unit及附加DLL
Platform: | Size: 182272 | Author: 银石 | Hits:

[OpenCVopencv

Description: OPENCV 目标检测程序,编译环境VC加加2008,OPENCV 最新版本2.1.-OPENCV target detection process, the build environment VC Gaga 2008, OPENCV the latest version 2.1.
Platform: | Size: 28907520 | Author: zhang | Hits:
« 12 3 4 »

CodeBus www.codebus.net